/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.shop.userorder.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.enums.ValidatorType;
import org.opsli.core.base.entity.BaseEntity;

/**
 * 用户订单 Entity
 *
 * @author 17607080935
 * @date 2025-01-08 15:52:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUserOrder extends BaseEntity {


    /**
     * 订单时长
     */

    Integer hourNumber;

    /** 用户id */
    private String userId;

    /** 订单类型 */
    private String type;

    /** 商品id */
    private String goodId;

    /** 金额 */
    private BigDecimal price;


    private String priceStatus ="0";

    /** 订单状态 */
    private String status;

    /** 备注 */
    private String remarks;


    /**
     * 设备id
     */
    private String deviceId;


    /** 订单实际开始时间 */
    @ApiModelProperty(value = "订单开始时间")
    Date startTime;


    /** 订单实际结束时间 */
    @ApiModelProperty(value = "订单结束时间")
    Date endTime;

    /** 订单预约开始时间 */

    @ApiModelProperty(value = "订单预约开始时间")

    Date resStartTime;
    /** 订单预约结束时间 */

    @ApiModelProperty(value = "订单预约结束时间")

    Date resEndTime;
    // ========================================

    /** 多租户字段 */
    private String orgIds;

    /** 多租户字段 */
    private String tenantId;

    /** 删除 */
    private Integer delectd =0;




}